package com.hjx.web;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/test.do")
public class TestController {

	@RequestMapping(params = "method=add")  
    public String add(HttpServletRequest request, ModelMap modelMap) throws Exception{  
        return "test_add";  
    } 
}
